﻿using EFCore.Models;
using Microsoft.EntityFrameworkCore;
using SIService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SService
{
    public class WarehouselocationS : WarehouselocationSI
    {
        private readonly WmssystemContext myDb;

        public WarehouselocationS(WmssystemContext myDb)
        {
            this.myDb = myDb;
        }
        public Task<List<Sys_warehouselocation>> Wqu()
        {
            return myDb.Sys_warehouselocation.ToListAsync();
        }
    }
}
